#ifndef __text_video_h__
#define __text_video_h__
#include "x86.h"
typedef struct sc_s {
	char character;
	char attribute;
} screen_character;

typedef struct vci_s {
	short cursor_x;
	short cursor_y;
	char page_id;
	volatile screen_character *video_buffer;
	char attrib;
	char escape;
	int no_scroll;
} vc_info;

void set_attrib(int foreground,int background);

int is_monochrome();

int get_page_length();

volatile screen_character *get_text_video_memory();

void kputch(char c);

void dputch(char c);

void vcputch(char c,int vc);

void init_video();

void kprint(char *str);

void clear_video();

void clear_line();

void disable_scroll(int scroll);

void position(int x,int y,int move_cursor_);
#endif